exports.install = function (Vue, options) {
  // 根据属性名称排序
  Vue.prototype.compareByPropertis = function (propsName) {
    return function (a, b) {
      var v1 = a[propsName]
      var v2 = b[propsName]
      return v2 - v1
    }
  }
}
